package org.example.jiaxiao.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.jiaxiao.entity.Course;
import org.example.jiaxiao.mapper.ExtractMapper;
import org.example.jiaxiao.service.ExtractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ExtractServiceImpl extends ServiceImpl<ExtractMapper, Course> implements ExtractService {
    @Autowired
    private ExtractMapper extractMapper;

    @Override
    public List<Course> extractCourse() {
        return extractMapper.extractCourse();
    }
}